<template>
	<!-- 充值协议 -->
	<view>
		<!-- #ifdef APP-PLUS -->
		<view class="status_bar"></view>  
		<!-- #endif -->
		<navbar title="充值协议" />
		<view class="main">
			<rich-text :nodes="content"></rich-text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content:'充值协议'
			}
		},
		onLoad() {
			this.getAgreement();
		},
		methods: {
			getAgreement(){
				this.$api.rechargeaggrement().then(res=>{
					this.content = res.aggrement;
				})
			}
		}
	}
</script>

<style>
page{
	padding: calc(var(--status-bar-height) + 100rpx) 0 30rpx;
}
.main{
	width: 690rpx;
	min-height: 1076rpx;
	background: #FFFFFF;
	border-radius: 20rpx;
	padding: 30rpx;
	margin: 30rpx 30rpx 0;
}
</style>
